class MoveNickNameFromProfilesToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :nick_name, :string
    remove_column :profiles, :nick_name
  end

  def self.down
    add_column :profiles, :nick_name, :string
    remove_column :users, :nick_name
  end
end
